TierPricingTable\Addons\GlobalTieredPricing\CPT\GlobalTieredPricingCPT S

Total Complexity 44
Dependencies 12
Dependents 2
Total lines 369
Lines of code 298
Logical lines of code 119
Comment lines 23
Methods 15
Properties 3

Methods 15

Method Rating Maintainability Complexity Lines of code
__construct()
A
40 9 63
savePricingRule()
A
46 9 35
renderBlankState()
S
47 4 46
sanitizePricingRules()
S
64 6 9
getGlobalRules()
S
51 3 27
getPricingRuleInstance()
S
64 3 11
register()
S
48 1 34
getColumns()
S
61 2 13
registerMetaboxes()
S
57 1 21
renderPricingMetabox()
S
62 1 14
initInlineActions()
S
78 1 4
addPageToWooCommerceScreen()
S
73 1 5
renderRulesMetabox()
S
71 1 6
renderNoticeMetabox()
S
71 1 6
isSetupingANewPricingRule()
S
76 1 4